Setting up a HVar inside a program, IF it doesn't already exist.
|
04-10-2022, 06:47 AM
(This post was last modified: 04-10-2022 06:49 AM by Tyann.)
Post: #2
|
|||
|
|||
RE: Setting up a HVar inside a program, IF it doesn't already exist.
Bonjour
Vous ne pouvez pas utiliser une variable HVars par son nom tant que celle-ci n' a pas été créer. Donc si vous créez et utilisez cette variable dans le même programme, vous devez toujours utiliser la forme 'HVars("nom")' Pour une liste vous ne pouvez pas utiliser la syntaxe 'HVars("nom")(i)', il faut passer alors par une variable locale qui copie le contenu de HVars("nom") puis vous modifier la variable locale et enfin HVars("nom"):=variable locale. Espérant avoir aidé. REM Pour savoir si vôtre variable existe vous pouvez utilisez Code: POS(HVars,"nom") Hello You can't use an HVars variable by its name until it has been has not been created. So if you create and use this variable in the same program, you must always use the form 'HVars("name")'. For a list you cannot use the syntax 'HVars("name")(i)', you have to use through a local variable which copies the content of HVars("name") then you modify the local variable and finally HVars("name"):=local variable. Hoping to have helped. REM To find out if your variable exists you can use Code: POS(HVars, "name"). Translated with http://www.DeepL.com/Translator (free version) Sorry for my english |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Setting up a HVar inside a program, IF it doesn't already exist. - matalog - 04-09-2022, 06:51 PM
RE: Setting up a HVar inside a program, IF it doesn't already exist. - Tyann - 04-10-2022 06:47 AM
RE: Setting up a HVar inside a program, IF it doesn't already exist. - matalog - 04-14-2022, 09:01 PM
RE: Setting up a HVar inside a program, IF it doesn't already exist. - Tyann - 04-15-2022, 04:59 AM
RE: Setting up a HVar inside a program, IF it doesn't already exist. - roadrunner - 04-14-2022, 09:51 PM
RE: Setting up a HVar inside a program, IF it doesn't already exist. - matalog - 04-15-2022, 11:36 AM
RE: Setting up a HVar inside a program, IF it doesn't already exist. - Tyann - 04-16-2022, 11:25 AM
|
User(s) browsing this thread: 1 Guest(s)