a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 rexxsyslib.library
  ClearRexxMsg
  CreateArgstring
  CreateRexxMsg
  DeleteArgstring
  DeleteRexxMsg
  FillRexxMsg
  IsRexxMsg
  LengthArgstring
  LockRexxBase
  UnlockRexxBase
Include
GuruMeditation
Docs » Autodocs » rexxsyslib.library » CreateArgstring

NAME

	CreateArgstring - Create an argument string structure

SYNOPSIS

	argstr = CreateArgstring(string, length)
D0,A0 A0 D0
UBYTE *CreateArgstring(UBYTE *, ULONG);

FUNCTION

	Allocates a RexxArg structure and copies the supplied string into it.
The returned pointer points at the string part of the structure
and can be treated like an ordinary string pointer. (However, care
must be taken that you do not change the string)

INPUTS

	string - A pointer at your input string
length - The number of bytes of your input string you wish copied.
(NOTE: You are limited to 65,535 byte strings)

RESULT

	argstr - A pointer to the argument string.  The results are returned
in both A0 and D0. You should always check the result
as an allocation failure would cause an error.

SEE ALSO

DeleteArgstring(), LengthArgstring(), ClearRexxMsg(), FillRexxMsg()

BUGS

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Crystal

KEF
CSL
FLT
AYS

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se