Re: Need help with user-written routine in SOR$

hoefelmeyer_at_hotmail.com
Date: 01/04/05


Date: 4 Jan 2005 11:46:30 -0800

Cool! The structure wrapper must be needed by VMS for some reason,
then. I was just worried that it was something significant that was
glossed over in the docs. Well, that makes it a lot easier for me! I'm
very pleased to have my fears proved groundless. Thank you very much!

A couple of other questions come to mind, with passing pointers -
first, since ADRS1 and ADRS2 are pointers to my records, if I
dereference them and modify non-key fields in them in my user_equal
routine, it would indeed change the actual record, correct? I know the
answer in C, but am not sure in BASIC, i.e., is my function accessing a
pointer to the actual record, as does C, or is it a pointer to a local
copy of the record? The latter doesn't seem likely.

And if I can, would doing so make the sort choke? I don't see why,
because I'm not changing keys, but you never know. I'll check this out
empirically.



Relevant Pages

  • Re: How to name variables in a program?
    ... Phlip wrote: ... >> this convention works with prefixes to indicate variable type. ... > This minor editor feature is a major reason all the early MS code used HN. ... > pointers, ...
    (comp.programming)
  • Re: Openssl compilation and gcc options
    ... >> any reason it would be faster, and I can think of reasons it would be ... Neither instruction set is more native than the other. ... There is the possibility of using "denser" CPU instructions (that do ... So a tight loop with 32bit pointers may fit ...
    (comp.security.ssh)
  • Re: [PHP] Get Parameters in Includes [SOLVED!!!]
    ... frustrate you with any future problems I have. ... That's fine, and it's for that reason this list exists, but here's ... a couple of pointers: ...
    (php.general)
  • Re: Is it possible to assign a default value...great, but how?
    ... > much as NULL does it with pointers". ... read your posts in Google Groups but as one reason why people don't normally ... > could call fin the case of a reference argument too. ... void f ...
    (microsoft.public.vc.language)
  • Re: print an address
    ... The nature of integers means that there are no fractional ... do not inherently point to objects, and pointers are not necessarily ... But the type need not even exist, e.g., if for some reason ... When one violates the type system, ...
    (comp.lang.c)