Page 1 of 1
as keyword
Posted: Fri Nov 24, 2006 5:46 am
by Joseph.LM.King
what does 'as' do, it highlights in pb 4.0 however, it seems to do nothing.
Posted: Fri Nov 24, 2006 8:56 am
by Dare
One place it is used in "Import":
Code: Select all
Import "Filename"
FunctionName.<type>(<parameter>, [, <parameter> [= DefaultValue]...]) [As "SymbolName"]
...
I can't think of any others off the top of my head.
Posted: Fri Nov 24, 2006 9:28 am
by netmaestro
I don't believe there are any other uses, it's a new keyword for version 4's Import command.
Posted: Fri Nov 24, 2006 3:08 pm
by Joseph.LM.King
oh that's fine. it would make purebasic very comfortable if you could declare types as byte, and as whatever using the keyword 'as'