
/* Troubleshooting.txt
 *
 * $VER:Troubleshooting v0.24
 *
 * Used tab size: 2
 */



HINTS / TROUBLESHOOTING:


1.: All strings in objects (eg. myfamedoormsg.fdom_iostring) are ARRAYS
    OF CHARS and not ESTRINGS. So, if you want to copy something to it,
    use AstrCopy() and *NOT* StrCopy(), otherwise your system crashes.
    Also the function EstrLen(myfamedoormsg.fdom_iostring) will return
    something strange but not the length of this string. Use: StrLen().

2.: Note that the FAME.library functions (eg. FAMEAllocObject()) had to be
    changed to FaMEAllocObject() to be Amiga_E compatible.
               ^^^
3.: Try to be resident. Nearly all e code is resident by itself. Only
    expressions in typed list can be a problem:

        DEF a=2, b
        b:=NEW [1,a,3]
                  ^---- This can cause errors...do you need it? 8)

    The ability of beeing resident is very useful in multi node systems.

4.: The function putstringformat() works a bit different than it's SAS-C
    equivalent. In C you have the ability to declare "endless" parameters:
    void putstringformat(char *ctl, ...). This is not possible in E!
    So, i decided to use a list. You can use the function THIS way:

        putstringformat('Hello \s, your access is \d\b\n',[user,access])

    You can use the E format commands (\s, \d, \h, ...) or the system
    ones (%s, %ld, ...). (This function will call the RawDoFmt() command.)


-------------------------------- EOF ----------------------- BeatniK/tRSi --

