MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Instrukcja Użytkownika Strona 36

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 63
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 62 63

Komentarze do niniejszej Instrukcji

Brak uwag