Re: BASIC problem calling LIB$ RTL

VAXman- @SendSpamHere.ORG wrote:
I'm not a BASIC programmer. Can somebody take a look at this and tell me
why calling LIB$RENAME_FILE returns %BAS-F-TOOFEWARG. The equivalent code
in Macro works.

Why not this?


Also declaring all variables and compiling with /TYPE:EXPLICIT will catch a lot of problems.

Jeff Coffield

Relevant Pages

  • Re: Automatically update tracking number on form
    ... macro without doing the dialog's action) and .Execute (which does the action ... Thanks for the great explanation on declaring variables. ... Deleting the "Option Explicit" is allowable but not the best idea. ... If the "Option Explicit" is included, that tells VBA to check every variable ...
  • Re: [PATCH 4/4] [RFC] UIO: generic platform driver
    ... The macro definition and the ... BUG_ON for "declaring" preconditions. ... That's a matter of taste, too, I like it that way. ... matter for the compiler, but this way it's one goto ...
  • Re: SBCL error "dont know how to dump [object]"
    ... The problem you are having is due to the fact your the macro not only ... but that this code has actual live objects embedded into ... ; compiling (DEFUN MAKE-DOCUMENT ...) ...
  • Trying to get screamer working
    ... ; Byte Compiling Top-Level Form: ... from a nondeterministic context. ... function defined with DEFUN, the body of a call to the FOR-EFFECTS ... macro, the first argument of a call to the ONE-VALUE macro, the body of ...
  • Re: sizeof
    ... would've allowed me to use something like this as my macro: ... You could try using VS 2010, they probably have array literals. ... As to saving space, you need to verify whether those arrays are ever actually created, or perhaps they are optimized away by the linker since there is no reference to them anywhere in the code... ... try declaring them 'static' as well. ...