Inputs cmds
Publié : jeu. févr. 01, 2018 4:16 am
Hello, BP
The variable "d" is stored correctly using InputStr. Is possible that inputForm specifies the type of object to receive?
Thanks
inputForm does not decode the variable d
The variable "d" is stored correctly using InputStr. Is possible that inputForm specifies the type of object to receive?
Thanks
Code : Tout sélectionner
test_inputs():={
local a;
local b;
local c;
local d;
print();
input( "integer", a );
input( "real", b );
input( "boolean", c );
InputStr( "string", d );
print( a );
print( b );
print( c );
print( d );
inputform( "integer", a, "real", b, "boolean", c, "string",d );
print( a+" "+b+" "+c+" "+d );
}:;