Home › Forums › Problems and solutions in GDL › Documentation elements, text handling › Request Object Parameters with Label › Reply To: Request Object Parameters with Label
June 13, 2019 at 10:26
#4778
Péter Baksa
Keymaster
Hi,
bDoor = “” initializes the variable as a string, bDoor = 0 as numeric. It could cause a problem if the request fails, and you compare an integer against the string variable.
All the variables are needed in the request expression, altough you can use shorter names for the unneeded ones.
The last parameters expression is not needed, your bDoor is a variable.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE