MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Manual de usuario Pagina 36

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 63
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 35
GetPosition( ) - Returns the integer character number where the next search will start. Returns the
current character position. JavaScript note: This command requires a small Lingo script to work
in JavaScript.
Example:
set source = "Do not pass go."
put FindFirst(source,"not")
-- 4
put GetPosition()
-- 4
SetCaseSensitivity(onOrOff) - where onOrOff is the boolean value, either 1 (TRUE) to consider
case or 0 (FALSE) to ignore case. No return. Determines whether or not the Find and Replace
commands will consider case. The default is FALSE - ignore case.
Example:
SetCaseSensitivity(FALSE)
set source = "Cart the cart over here."
put FindFirst(source,"cart")
-- 1
SetCaseSensitivity(TRUE)
put FindFirst(source,"cart")
-- 10
INDEXING
Online Help
36
Vista de pagina 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 62 63

Comentarios a estos manuales

Sin comentarios