Interactive PowerBasic Forum

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: Zlatko Vid on May 30, 2023, 05:06:59 PM

Title: How to ..include file?
Post by: Zlatko Vid on May 30, 2023, 05:06:59 PM
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..
Title: Re: How to ..include file?
Post by: Zlatko Vid on May 30, 2023, 05:16:17 PM
And here is youtube link if you don't have player?