0

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

Coop Good
  • 11
  • 4
  • You will need to specify which BASIC, as that is a language that has many dialects, each implementation is essentially a different language with some common keywords. The ANSI standard for BASIC (which no one ha used since about 1980!) has only strings and numbers I recall and no concept if type beyond that – Clifford Oct 29 '22 at 10:11
  • @Clifford im using the basic that is used by fbide – Coop Good Oct 29 '22 at 10:44
  • You need to include that information in the question, not add it in comments. Fixed it for you. Perhaps also include some code to illustrate what you are trying to do that does not work. – Clifford Oct 29 '22 at 10:51
  • I have no idea where you are getting types chat and vargcharvfrom, they are not FreeBASiC types AFAIK. https://www.freebasic.net/wiki/DocToc – Clifford Oct 29 '22 at 10:59
  • The IDE you are using is irrelevant. It is FreeBASIC that is critical to answering your question ( and code). – Clifford Oct 29 '22 at 13:05

0 Answers0