Einzelnen Beitrag anzeigen
Alt 13.10.2012, 12:43   #174
leecher
Moderator
SHOWFILE

E r g e b n i s / R e s u l t

Place a file into notepad and display it

B e s c h r e i b u n g / D e s c r i p t i o n

Thie function opens the given file with filename fname and displays it in notepad.

S y n t a x
Code:
ok = call("showfile",fname)
P a r a m e t e r

fname - File name of file to display

R e t u r n s

A boolean value.

B e i s p i e l / E x a m p l e
Code:
attach "filecomp.oac"
fname = 'oa3code:test1.txt'
ok = call("showfile",fname)
detach "filecomp.oac"
Angehängte Dateien
Dateityp: oac FILECOMP.OAC‎ (15.5 KB, 2x aufgerufen)
Dateityp: zip filecomp.ZIP‎ (19.4 KB, 2x aufgerufen)
leecher ist offline   Mit Zitat antworten