BASIC: What does an exclamation mark at the end of a function name mean?

StackOverflow https://stackoverflow.com/questions/16395458

  •  14-04-2022
  •  | 
  •  

Pergunta

DECLARE FUNCTION AanUit! (Baan AS INTEGER, Aktie AS INTEGER)
DECLARE FUNCTION fVraagStatus! (Baan AS INTEGER)
DECLARE FUNCTION fMelding! (Tekst AS STRING, Warning AS INTEGER)

FUNCTION fVraagStatus (VraagBaan AS INTEGER)
  ´ retrieve status somewhere
  fVraagStatus = False or True
END FUNCTION

FUNCTION fMelding (Tekst AS STRING, Warning AS INTEGER)
  ´ locate (move cursor), print stuff
END FUNCTION

My Question: What does an exclamation mark at the end of a function name mean?

I am rewritting an old program to .net and came across something weird and i want to understand why there is a '!' at the end of the function decleration. I don't really need to write my own code, it's Just for my peace of mind.

Foi útil?

Solução

It means the function returns a SINGLE. Exclamation point is a shortcut for As Single.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top