Archive of UserLand's first discussion group, started October 5, 1998.

Re: Q: How to change the type of multiple entries

Author:Samuel Reynolds
Posted:9/28/1999; 11:36:49 AM
Topic:Q: How to change the type of multiple entries
Msg #:11547 (In response to 11535)
Prev/Next:11546 / 11548

Summary, convert all entries in a table from type of string to type of address.

Use a simple script to walk the table:

on ChangeStringToAddress( tableAdr )
   local ( idx )
   for idx = 1 to sizeOf( tableAdr^ )
      if ( typeOf( tableAdr^[idx] ) == stringType )
         try
            tableAdr^[idx] = address( tableAdr^[idx] )

ChangeStringToAddress( @myUsers )

- Sam


There are responses to this message:


This page was archived on 6/13/2001; 4:52:51 PM.

© Copyright 1998-2001 UserLand Software, Inc.