Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Exploring ScriptSharp
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrea Del Signore  
View profile  
 More options Sep 22 2011, 9:50 am
From: Andrea Del Signore <seje...@gmail.com>
Date: Thu, 22 Sep 2011 06:50:27 -0700 (PDT)
Local: Thurs, Sep 22 2011 9:50 am
Subject: Exploring ScriptSharp
Hello,

I'm a newbee that is just exploring the script# compiler.
I'm trying to bind some big framework like qooxdoo or sproutcore, but
I've some (expected) difficulties.

For example, given this sproutcore JS snippet

Todos.Todo = SC.Object.extend({
  title: null,
  isDone: false

});

how can I code a c# syntax that will produce this code block?

{
    title: null,
    isDone: false

}

I've also some more questions, but let start with this ;)

Thanks for your help.
Best regards,
Andrea


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rekna  
View profile  
 More options Sep 22 2011, 10:57 am
From: rekna <rek...@gmail.com>
Date: Thu, 22 Sep 2011 07:57:15 -0700 (PDT)
Local: Thurs, Sep 22 2011 10:57 am
Subject: Re: Exploring ScriptSharp
You can use Dictionary:
Dictionary tmp = new Dictionary("title",null,"isDone:false);
will produce
var tmp = { title:null, isDone:false };
beware, Dictionary only seems to accept constant values.

On 22 sep, 15:50, Andrea Del Signore <seje...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrea Del Signore  
View profile  
 More options Sep 22 2011, 11:04 am
From: Andrea Del Signore <seje...@gmail.com>
Date: Thu, 22 Sep 2011 08:04:19 -0700 (PDT)
Local: Thurs, Sep 22 2011 11:04 am
Subject: Re: Exploring ScriptSharp
Oh thanks for the quick response!

Andrea

On 22 Set, 16:57, rekna <rek...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »