Klik op het logo voor hulp op afstand
  
 
 
 
 
 
 
 




Scripting Function Reference O


ObjToInt (O) : D

JoPPS - v2.50


Converts an object (its pointer value) into its numeric representation.

î       The object reference.

 

ì       The object address (pointer value) as a number.

 

&    AtomToObj

M     This function is intended to be used in specific JoPPS result reports.

 

OM(S [, D])

JoPPS/JCALL – V2.82

 

This function is an alias for OutputMsg.

&     OutputMsg

OpenFile (Sfn[,Dopenmode]) : Dh

JoPPS/JCALL/JScripter

 

Opens a file.

î       Sfn is the filename,
      Dopenmode is an optional argument specifying how the file is opened, the default openmode is
      OPENMODE_READWRITE.
      You can use the following constants as arguments to the Dopenmode parameter :

 

File open mode constants

Meaning

OPENMODE_READ

Open for read access only

OPENMODE_WRITE

Open for write access only

OPENMODE_READWRITE

Open for read and write access

OPENMODE_SHAREEXCLUSIVE

Read and write access for others is denied

OPENMODE_SHAREDENYWRITE

Write access for others is denied

OPENMODE_SHAREDENYREAD

Read access for others is denied

OPENMODE_SHAREDENYNONE

Allows full access for others

 

ì       Returns a valid filehandle Dh or a value of -1 if failed.

 

&     OpenRead, OpenWrite, CloseFile

 

M     Close the file using the CloseFile function when you are done using it.

 

OpenMsgPane()

JoPPS/JCALL/JScripter

 

Opens the JoPPS message pane. The message pane is the window where all JoPPS messages are shown.

&     CloseMsgPane, ClearMsgPane, OutputMsg

 

&    see also 3. Using JoPPS-Script in JoPPS

OpenRead (Sfn) : Dh

JoPPS/JCALL/JScripter

 

Opens a file for read access only.

î       Sfn is the filename.

 

ì       Returns a valid filehandle Dh or -1 if failed

 

&     OpenWrite, OpenFile, CloseFile

M     Close the file using the CloseFile function when you are done using it.

 

OpenWrite (Sfn) : Dh

JoPPS/JCALL/JScripter

 

Opens a file for write access only.

î       Sfn is the filename.

 

ì       Returns a valid filehandle Dh or -1 if failed.

 

&     OpenRead, OpenFile, CloseFile

M     Close the file using the CloseFile function when you are done using it.

 

ORD (Schar) : D

JoPPS/JCALL/JScripter

 

Returns the ordinal value of a character.

î       Schar is a string holding at least 1 character.

 

ì       Returns the ordinal value of the character. (its ascii code)

 

&     CHR

OutputMsg (S[,D])

JoPPS/JCALL

 

Outputs a message to the JoPPS message pane. The message pane is the window where all JoPPS messages are shown. If the message pane is currently closed it will be opened automatically.

 

î       S is the message to display,
      D is an optional errorcode. (= 0 means it is just a message, 0 means an errormessage)

 

&     OpenMsgPane, CloseMsgPane, ClearMsgPane

      see also 3. Using JoPPS-Script in JoPPS

 

 

 



 |  History  |
 
 

 
 
 
TECHWIN SOFTWARE
De Regenboog 11
B-2800 Mechelen
T +32(0)15 44 64 64
T +31(0)30 899 32 15 Nederland