+ Start a Discussion
adamgadamg 

New Board Feature - Code Tag

We've got a new feature on the boards I'm sure you all will appricate - code tagging.  Its now possible to display code inline in your messages without worrying about the formatting, like so:

Code:
function getCampaignIDs() {
 global $mySforceConnection;
 $yesterday  = mktime(0, 0, 0, date("m")  , date("d")-1, date("Y"));
 $query = "Select CampaignId, ContactId, CreatedDate, Id, LeadId from CampaignMember";
 
 $response = $mySforceConnection->query(($query), 500);
 if ($response->size > 0) {
  if ($response->size == 1) {

To use this feature, click on the "SRC" button in the editor (its next to the emoticon menu.)  And as always let us know if you have any questions or feedback.

Message Edited by adamg on 03-03-2006 09:38 AM

bouscalbouscal
Code:
Function Praise_Dev(SRC)
   If SRC="Available" Then
      Do While x < 1000
         MsgBox "THANK YOU!"
         x = x + 1
      Loop
   Else
      Call Wait_Timer()
   End If
End Function
  :smileywink:

Almost created an endless loop of praise...

Message Edited by bouscal on 03-10-2006 03:03 PM

The_FoxThe_Fox
Hi,

Nice add but a small issue with some regex (and maybe other things that have : and ) just aside one another like that :) that shows a smiley right in the middle of the code

Otherwise Cool
adamgadamg
That bug with the emoticons should be fixed now, thx.
The_FoxThe_Fox
Hi Adam,
 
Thanks to you and people responding here (Dave, Ron, Benji and others...) to build such a living community.

Regards