News
Forums
Search
Members
Sign Up
My Code Newbie
Username
Password
Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET
C.N. Friends
Planet Rome
Link to Us!
Code Newbie
Code Forums
>
Application and Web Development
>
MS Technologies ( ASP, VB, C#, .NET )
Capturing a user defined function
User Name
Remember Me?
Password
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
08-27-2006, 06:02 PM
#
1
(
permalink
)
brad_galloway
Registered User
Join Date: Feb 2005
Location: Western KY
Posts: 24
Capturing a user defined function
How do I capture a function f(x) from a user and evaluate a result? Say the function they enter is f(x) = x + 2? How would I capture that? Or maybe something more complex like f(x) = x ^ 2 + (e^2 + 5).
__________________
brad_galloway
View Public Profile
Find More Posts by brad_galloway
08-27-2006, 07:13 PM
#
2
(
permalink
)
teknomage1
Jack of all trades
Join Date: Feb 2005
Location: Los Angeles
Posts: 595
If the user is giving you strings of text, you'll have to parse that text into code and evaluate that.
__________________
Stop intellectual property from infringing on me
teknomage1
View Public Profile
Find More Posts by teknomage1
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
Off
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
PHP5 Tips and tricks
DJMaze
PHP
11
05-20-2006
05:32 PM
Jump to a sub Function from a link????
NevadaSam
HTML, XML, Javascript, AJAX
0
05-05-2006
05:49 PM
User Defined Dialog Box in Javascript
vaidhiswaran
HTML, XML, Javascript, AJAX
3
02-14-2006
12:51 AM
change the empty function from the old format to the new format
powah
All Other Coding Languages
1
07-10-2005
01:23 PM
need help with copying backwards
rogue
Standard C, C++
9
04-24-2005
04:39 PM
All times are GMT -8. The time now is
07:06 PM
.
Contact Us
-
CodeNewbie.com
-
Archive
-
Top
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO
3.0.0 RC8
Copyright © 2000-2006, Milano Interactive
Web Hosting provided by
Portal 360 Web Hosting
Open Circle
LinkBack
LinkBack URL
About LinkBacks