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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 63
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 34
setPosition(4)
put FindPrevious(source,"bbb")
-- 0
setPosition(4)
put ReplaceNext(source,"xxx","bbb")
-- "aaaxxxccc"
Example 2
-- One operation can set position
-- so that another operation will
-- not start at the beginning of
-- the next string
--
set source = "aaabbbccc"
put FindFirst(source,"bbb")
-- 4
-- Position is now set to 4
set source = "Do not pass go."
put FindNext(source,"Do")
-- 0
-- The operation started at position 4,
-- so it missed the word at pos 1.
-- Should have used FindFirst on the
-- new string.
Online Help
35
Vista de pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 62 63

Comentarios a estos manuales

Sin comentarios