I tried char and vargchar, but none of them work. i want to build a calculator and want to ask the user what symbol they want to use like +,-
i tried doing char and vargchar, but none of them work. using fbide
In BASIC (Freebasic/Qbasic/GWbasic) there's no a char type; there's string type! Then you may consider char as it's a string of one byte.
Freebasic sample (also Qbasic):
dim x as string x ="A" print x
Gw-Basic/Qbasic sample:
x$ = "A" print x$
In BASIC (Freebasic/Qbasic/GWbasic) there's no a char type; there's string type! Then you may consider char as it's a string of one byte.
Freebasic sample (also Qbasic):
Gw-Basic/Qbasic sample: