Include a file: Difference between revisions

Line 143:
<lang IWBASIC>
$INCLUDE "ishelllink.inc" (or whatever other file).
 
IWBASIC also allows resources, files and data that are compiled with an application and embedded in the executable. However, resources in IWBASIC are may be used only for projects, i.e., programs that have more than one source file.
 
Various resources are loaded as follows: Success=LOADRESOURCE(ID,Type,Variable).
 
"ID is either a numeric or string identifier to the resource, TYPE is a numeric or string type and it stores the info
in variable. The standard Windows resource types can be specified and loaded in raw form using the following constants:
 
@RESCURSOR
@RESBITMAP
@RESICON
@RESMENU
@RESDIALOG
@RESSTRING
@RESACCEL
@RESDATA
@RESMESSAGETABLE
@RESGROUPCURSOR
@RESGROUPICON
@RESVERSION"
</lang>