a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Static lib:
 amiga.lib
  ACrypt
  AddTOF
  ArgArrayDone
  ArgArrayInit
  ArgInt
  ArgString
  BeginIO
  CallHook
  CallHookA
  CheckRexxMsg
  CoerceMethod
  CoerceMethodA
  CreateExtIO
  CreatePort
  CreateStdIO
  CreateTask
  CxCustom
  CxDebug
  CxFilter
  CxSender
  CxSignal
  CxTranslate
  DeleteExtIO
  DeletePort
  DeleteStdIO
  DeleteTask
  DoMethod
  DoMethodA
  DoSuperMethod
  DoSuperMethodA
  FastRand
  FreeIEvents
  GetRexxVar
  HookEntry
  HotKey
  InvertString
  LibAllocPooled
  LibCreatePool
  LibDeletePool
  LibFreePooled
  NewList
  RangeRand
  RemTOF
  SetRexxVar
  SetSuperAttrs
  TimeDelay
  afp
  arnd
  dbf
  fpa
  printf
  sprintf
  stdio
Include
GuruMeditation
Docs » Autodocs » amiga.lib » InvertString

NAME

	InvertString -- produce input events that would generate the
given string. (V36)

SYNOPSIS

	events = InvertString(str,km)
struct InputEvent *InvertString(STRPTR,struct KeyMap *);

FUNCTION

	This function returns a linked list of input events which would
translate into the string using the supplied keymap (or the system
default keymap if 'km' is NULL).
'str' is null-terminated and may contain:
- ANSI character codes
- backslash escaped characters:
\n - CR
\r - CR
\t - TAB
\0 - illegal, do not use!
\\ - backslash
- a text description of an input event as used by ParseIX(),
enclosed in angle brackets.
An example is:
abc<alt f1>\nhi there.

INPUTS

	str - null-terminated string to convert to input events
km - keymap to use for the conversion, or NULL to use the default
keymap.

RESULT

	events - a chain of input events, or NULL if there was a problem. The
most likely cause of failure is an illegal description
enclosed in angled brackets.
This chain should eventually be freed using FreeIEvents().

SEE ALSO

commodities.library/ParseIX(), FreeIEvents()

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

CSL
TSL
ANA
ATX

Comments:

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