ScriptEase:Desktop version 3.0 User Manual

This user manual is for one of the last versions of SE:DESK before a complete switch from Cmm to JavaScript, and so it is mostly applicable to the CEnvi application (for which there is very little remaining documentation).

The best part of this manual (IMHO) is the is the Tutorial Chapter which teaches computer programing in Cmm, from zero to writing a complete text editor, in 17 easy steps.

See Other Nombas Documentation for other ancient Nombas products.

  • Introduction
  • The ScriptEase Language
  • ScriptEase vs. C
  • ScriptEase Tutorial and Annotated Scripts
  • The ScriptEase Processor
  • The Integrated Debugging Environment
  • ScriptEase Standard Library
  • ScriptEase Standard Library Extensions
  • ScriptEase Professional Library
  • DOS (and Windows) Library
  • OS/2 Library
  • Windows 3.x Library
  • The Windows NT and `95 Library
  • UNIX Library
  • Appendix A - Grouped Functions


  • INDEX

    Symbols

    #! (for UNIX) 85

    #elif 38

    #else 38

    #endif 38

    #if 38

    #ifdef 38

    #include 36, 48

    #link 37

    /BIND 86

    _95CON_ 161

    _95WIN_ 161

    _argc 40

    _argv 40

    _BigEndianMode 162

    _DOS_ 161

    _DOS32_ 161

    _MAC_ 161

    _NTCON_ 161

    _NTWIN_ 161

    _NWNLM_ 161

    _OS2_ 161

    _SHELL_ 161

    _UNIX_ 161

    _WIN32_ 161

    _WINDOWS_ 161

    A

    abort 98

    abs 99

    acos 99

    address 189

    addresses (&) 47

    AND 23

    argc 40

    ArgCount 39

    ArgStrings 39

    arrays 16

    array arithmetic 19

    automatic allocation 42

    further discussion 20

    initialization 17

    multi-dimensional 20

    of arrays 20

    representation 42

    asctime 98

    asin 99

    asm 190, 193, 215

    assert 100

    assignment arithmetic 15

    atan 100

    atan2 100

    atexit 100

    atof 101

    atoi 101

    atol 101

    auto-decrement 15

    auto-increment 15

    AUTOLOAD.CMM 83

    B

    BaseWindowFunction 201, 216

    batch files 72

    BIG_ENDIAN 161

    BLObGet 162

    BLObPut 163

    BLObSize 165

    blocks 13

    Border.cmm 71

    Bound 165

    break 27

    breakpoints

    and variables 94

    breakpoints, clearing 94

    breakpoints, setting 94

    BreakWindow 202, 217

    bsearch 102

    byte 165

    C

    C

    converting to ScriptEase 49

    case 27, 47

    ceil 103

    clearerr 103

    clock 103

    CLOCKS_PER_SEC 97

    Cmm 6

    CMMPATH 81

    CmmView.cmm 62

    comments 10

    conditional expressions 22

    conditions 24

    continue 27

    converting C to ScriptEase 49

    cos 103

    cosh 103

    ctime 104

    D

    data pointers 47

    data types 11, 41

    byte 11

    float 11

    integer 11

    DataDimension 166

    DataType 166

    Datediff.cmm 69

    debugger 89

    breakpoints, and variables 94

    breakpoints, clearing 94

    breakpoints, setting 94

    changing source mark 91

    changing variable values while debugging 95

    correcting errors in 95

    cursor 90

    Debug menu 91

    keyboard shortcuts 92

    navigational icons 92

    Options menu 91

    Run menu 91

    sending command line parameters 91

    source mark 90

    source windows 90

    status bar 90

    watch windows 90

    Window menu 93

    default 27

    define 35

    defined 167

    difftime 104

    Directory 168

    div 104

    do ... while 26

    DoWindows 203, 218

    DynamicLink 194, 204, 219

    E

    else 25

    EOF 97

    EQUALITY 23

    errno 98

    escape sequences 12

    ESet 196

    Eset 221

    exit 105

    EXIT_FAILURE 97

    EXIT_SUCCESS 97

    exp 105

    expressions 13

    conditional 22

    grouping 13

    order of precedence 13

    EXTPROC 86

    F

    fabs 105

    FALSE 97

    fclose 105

    feof 106

    ferror 106

    fflush 106

    fgetc 106

    fgetpos 107

    fgets 107

    float 169

    floor 107

    flow decisions 24

    fmod 108

    fopen 108

    for 26

    fork 230

    fprintf 110

    fputc 110

    fputs 110

    fread 111

    freopen 112

    frexp 113

    fscanf 114

    fseek 115

    fsetpos 115

    ftell 115

    FullPath 170

    function 170

    functions 30

    definition 31

    error checking 34

    example 33

    main 39

    recursion 33

    return statement 32

    fwrite 116

    G

    GetArraySpan 171

    getc 116

    getch 117

    getchar 117

    getche 117

    getcwd 230

    getenv 118

    gets 118

    GetStructureMembers 172

    gmtime 119

    goto 28

    GREATER THAN 24

    H

    history 83

    I

    IDE 89

    if 25

    INEQUALITY 23

    info 196

    initialization 39

    code external to functions 47

    inport 190, 197

    inportw 190, 197

    installation 6

    Instance 205

    instance 221

    integer 172

    Interpret 173

    interrupt 191

    isalnum 119

    isalpha 119

    isascii 119

    iscntrl 119

    IsDay_1.bat 72

    isdigit 120

    isgraph 120

    islower 120

    isprint 120

    ispunct 120

    isspace 120

    isupper 121

    isxdigit 121

    K

    kbhit 121

    L

    labels 28

    labs 122

    ldexp 122

    ldiv 122

    LESS THAN 23

    LESS THAN OR EQUAL TO 24

    localtime 123

    log 124

    log10 124

    logical operators 22

    loops 24

    M

    macros 48

    main 39

    MakeWindow 206, 222

    mathematical operators 14

    assignment arithmetic 15

    auto-increment andauto-decrement 15

    basic arithmetic 14

    max 124

    memchr 124

    memcmp 125

    memcpy 125

    memicmp 126

    memmove 126

    memset 127

    MessageFilter 224

    min 127

    mktime 127

    modf 128

    N

    NOT 23

    NULL 97

    O

    offset 191, 192

    oke 199

    operators

    logical 22

    OR 23

    outport 191, 197

    outportw 192, 197

    P

    passing variables by reference 46

    peek 186

    perror 128

    PMDynamicLink 198

    PMInfo 198

    PMPeek 198

    pointer 187

    pointers 47

    poke 188

    pow 128

    printf 29, 128

    syntax 29

    ProcessList 199

    Program Structure 9

    putc 130

    putchar 131

    putenv 131

    puts 131

    Q

    qsort 132

    R

    rand 133

    RAND_MAX 97

    remove 133

    rename 133

    return 32

    rewind 133

    rsprintf 174

    rvsprintf 175

    S

    sample libraries 6

    scanf 134

    ScreenClear 175

    ScreenCursor 176

    ScreenHandle 224

    ScreenSize 176, 211

    ScriptEase processor 81

    ScriptEase shell 82

    scripts

    executing 84

    executing by clicking on its icon 85

    executing from a batch file 85

    executing from a command line 84

    executing from a REXX-file 86

    segment 191, 192

    SetArraySpan 177

    setsid 230

    setuid 230

    Shell file redirections 82

    sin 135

    sinh 136

    sprintf 136

    sqrt 136

    srand 136

    sscanf 137

    statements 13

    stderr 97

    stdin 97

    stdout 57, 97

    strcat 137

    strchr 138

    strcmp 138

    strcmpi 138

    strcpy 139

    strcspn 139

    strerror 140

    strftime 141

    stricmp 142

    strings 16, 17

    back-quote 18, 48

    copying 18

    literal, as function parameters 44

    literal, assignment of 43

    literal, comparisons with 43

    literal, with return statement 44

    literal, with switch/case statements 44

    single-quote 18

    strlen 142

    strlwr 142

    strncat 143

    strncmp 143

    strncmpi 143

    strncpy 144

    strnicmp 144

    strpbrk 144

    strrchr 145

    strspn 145

    strstr 146

    strstri 146

    strtod 147

    strtok 148

    strtol 149

    structures 45

    strupr 150

    SubClassWindow 225

    supported platforms 6

    switch 27

    system 150

    T

    tabs 10, 83

    tan 150

    tanh 151

    time 151

    tmpfile 151

    tmpnam 152

    toascii 152

    tolower 152

    toupper 152

    TReplace.cmm 75

    TRUE 97

    tutorial

    CmmEditA 51

    CmmEditB 52

    CmmEditC 53

    CmmEditD 54

    CmmEditE 54

    CmmEditF 55

    CmmEditG 56

    CmmEditH 57

    CmmEditI 57

    CmmEditJ 58

    CmmEditK.cmm 59

    CmmEditM.cmm 62

    CmmEditN.cmm 63

    CmmEditO.cmm 64

    CmmEditP-Q.cmm 65

    CmmView.cmm 62

    type declarations 41

    U

    ungetc 153

    unnecessary tokens 47

    V

    va_arg 154

    va_end 155

    va_start 156

    variables 12

    changing while debugging 95

    environment variables 13, 81

    passing by reference 46

    scope 34

    VERSION_MAJOR 161

    VERSION_MINOR 161

    VERSION_STRING 161

    vfprintf 156

    vfscanf 157

    vprintf 157

    vscanf 158

    vsprintf 158

    vsscanf 159

    W

    waitpid 231

    while 25

    whitespace characters 10

    WindowList 213, 226