473,405 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

How to use suffix in the name of a variable?

t=a+(n-1)*d and t=a+(i-1)*d
I want to use the suffix "n" in the name of the first t
and suffix"i" in the name of the second t.How can I?
Apr 10 '16 #1
1 1098
weaknessforcats
9,208 Expert Mod 8TB
Do you mean tn and ti?

Use two variables tn and ti.

The compiler is not allowed to change the code it is compiling.
Apr 10 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: geronimi | last post by:
Hi, i use phpdev and I have a stupid problem. I use a form and I want to pass a variable (name) from one page to another (overview.php). ......... <form method="post"...
8
by: atomo | last post by:
Hi, i got a problem with variable handling with mozilla(0.7). These lines of code works fine on IE(6), but they doesn't on Mozilla: echo" function check(){ if( ".$name.".value!=\"\" ) {...
4
by: Vivek Chaudhary | last post by:
Is it possible to set an environment variable in python script whose value is retained even after the script exits. Doing the following creates an environment variable "name" which is visible to...
2
by: Ben | last post by:
is there a login name variable that I can use in my ASP.net, VB.net program? I am trying to have different users access different webform as they login. thanks for any help
2
by: Geoff Cox | last post by:
Hello, I read that moving from one page to another normally destroys a variable. The code below allows the variable "name" to be used in a form on the second page. How does this happen? Or am I...
10
by: John Salerno | last post by:
If I want to have a list like this: where the first part of each tuple is a variable name and the second part is a label for the user to see, such as a form like this: First Name: ________...
45
by: Zytan | last post by:
Shot in the dark, since I know C# doesn't have macros, and thus can't have a stringizer operator, but I know that you can get the name of enums as strings, so maybe you can do the same with an...
6
by: traineeirishprogrammer | last post by:
I am currently working on a project where I need to sort my MYSQL query results by different categories. How ever the code does not seem to be working properly and I spend too much time on it...
2
by: Looch | last post by:
All, I'm trying to output but I can only get (brackets for clarity) when using the code below. How can I "break" into the query variable in the InsertName method to add the name parameter to...
10
by: dnwise2 | last post by:
I have an access database that uses vba to retrieve .txt files from a specific location and places them in specific tables within the access database. Previously (many years), the .txt file names...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.