NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Copy Variable value into Paste Buffer?


Joined: 29 Mar 2006
Posts: 57
Location: Sonoma County, CA USA
Reply with quote
WHile in the debugger I want to copy the contents of a variable and paste it into another window so I can work on it.

For instance I have a variable called $sql that holds a long SQL statement. I want to be able to past the SQL statement into another window.

In FoxPro you could do that by executing the command " _cliptext = $sql " This would put the value of the variable into the Windows paste buffer.

Is there a way to do this in PHP ED???? If not, would you add it soon! (like this afternoon? Laughing )
View user's profileFind all posts by bchertovSend private messageVisit poster's website


Joined: 24 Oct 2006
Posts: 98
Location: Melbourne, AU
Reply with quote
You could add the variable to the 'watch' table, then right-click copy the value.
View user's profileFind all posts by LatsSend private message


Joined: 29 Mar 2006
Posts: 57
Location: Sonoma County, CA USA
Reply with quote
Lats wrote:
You could add the variable to the 'watch' table, then right-click copy the value.
Great! Thanks!
View user's profileFind all posts by bchertovSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
you could type variable in Immediate and copy its vardump Smile. It may make sense for arrays.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Copy Variable value into Paste Buffer?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic