How to ..include file?

Started by Zlatko Vid, May 30, 2023, 05:06:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zlatko Vid

This is tiny example about how to make your own
simple include file ..
sorry sound sucks in this oCam  ::)

'our first o2 program with include file
include "myInc.inc"
string s,s2
s2 =  chr(13) + chr(10) + "version3 with additional string"
s = is + s2' our include string

print s ' this will show our string in message box

here is include file myInc.inc

'my include in o2 ,v2
string is = "Hello Oxygen Basic!" + chr(13) + chr(10) + "version 2 by Aurel"

and tiny video in zip..

Zlatko Vid

And here is youtube link if you don't have player?