• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
strcat in applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strcat in applescript?


  • Subject: strcat in applescript?
  • From: Miss Augustina <email@hidden>
  • Date: Thu, 11 Nov 2004 10:36:17 -0800

on intToStrcat (char a, int b)
	return [ how do i return a + b without adding them? ]
end intToStrcat

so if a = X and b = 2, it should return "X2" as a string.

also when passing values to functions in AppleScript, the syntax "value" is used.  If i want to substitue a return value for a function do I also need to concatenate quotes around my return value?  so if i wanted to use the above function in place of specifying a static value basically, would Applescript recognize the return value without quotes or do I need to concatenate them around the return value?

set rowID to "2"
set colID to "A"

set x to Value of Cell intToStrcat(colID, rowID) <-- will return A2 not "A2".

sorry if these are totally obvious questions.. feel free to point me to a reference if that is more appropriate.

TIA!!
augustina
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: strcat in applescript?
      • From: J Charles Ferrari <email@hidden>
  • Prev by Date: Re: Exporting pdf to jpeg using preview
  • Next by Date: Re: Exporting pdf to jpeg using preview
  • Previous by thread: Re: Exporting pdf to jpeg using preview
  • Next by thread: Re: strcat in applescript?
  • Index(es):
    • Date
    • Thread