Questions tagged [subscript]

A subscript is a number, figure, symbol, or indicator that is smaller than the normal line of type and is set slightly below the baseline.

Subscripts are common in mathematical notation (generally indicating position, such as the index of a variable in a vector) and chemistry formulas (e.g. H2O).

Subscript and superscript (Wikipedia)

625 questions
-1
votes
2 answers

How do I use superscript and subscript in PowerPoint 2013?

In order to write oxygen with its chemical sign O2, is there a possible way to type it without copy/pasting it in the 2013 version of PowerPoint? In addition, I want to write 2^2 without the '^' expression to get a square indicated above the number.
Bay
  • 467
  • 7
  • 22
-1
votes
1 answer

Array subscript c++ (HEAP)

I need help! I am doing a heap that is a array of structures, my reheap down algorithm seems to be wrong, I have tried everything that I know, and this kind of thing works when there is no structure, just the array. So here is the error: main.cpp:…
arbast
  • 145
  • 7
-1
votes
1 answer

gnuplot - adjust horizontal spacing of subscript letters

I am trying to adjust the horizontal spacing of letters in subscript in the postscript (enhanced) terminal. The default is to align the spacing as you would for normal letters, but for big letters such as P, the subscripted letter appears too far…
darthbith
  • 18,484
  • 9
  • 60
  • 76
-1
votes
2 answers

C++ vector ERROR: subscript out of range

I'm a C++ noob, currently trying to create a text based maze game for degree. I'm replacing my currently working array with a vector (for dynamic size) and reading a txt file of chars to it. PROBLEM: I get no IDE errors, but get RUNTIME ERROR:…
Orbitall
  • 611
  • 11
  • 36
-2
votes
1 answer

How do i solve this error 9 problem in vba

When i run my vba script it says "subscript out of range" Sub søgProjektNr2() Debug.Print "--------------------------------" Debug.Print " test" Debug.Print "--------------------------------" Dim Nr As Integer Dim…
oepi
  • 1
-2
votes
1 answer

Adding upper subscript on conditional ifelse in R

I'm struggling to format Name column in such a way that it adds an upper subscript when the Value column is larger than 10. Any suggestions? Here is a sample dataset. tibble(Name = LETTERS[1:10], Value = sample(5:15,10)) The result should…
Pawliczek
  • 53
  • 5
-2
votes
2 answers

Convert subscript function from Objective C to Swift

I am trying to convert some Objective C code to Swift and can't manage to do it right with subscripting. This is the method I am trying to migrate to Swift: - (NSArray *)rangesOfSubstringAlphaNumeric:(NSString *)substring…
Bogdan
  • 402
  • 2
  • 8
  • 18
-2
votes
2 answers

index out of range array subscript

I try to learn S.O.L.I.D principle and i have a problem when I want to subscript an array, it show an error message. but when I try to subscript with arc4random_uniform the error message not show up. can anyone show me what it wrong? Thread: 1…
ferryawijayanto
  • 569
  • 4
  • 18
-2
votes
2 answers

Variant Array multiple errors and failure

People of the internet, I need your help! I am trying to use variant arrays to summarise a large dataset of performance data into individual scores. I have a table with about 13000 rows and about 1500 employees to loop through. I am not new to VBA…
-2
votes
1 answer

std::vector size not being set and data isn't assigned properly -> subscript range error

Debug Assertion Failed! Program: File: c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\vector Line: 1742 Expression: vector subscript out of range For information on how your program can cause an…
Callum
  • 85
  • 10
-2
votes
1 answer

CUnsignedChar has no subscript members

I am getting the error Type 'CUnsignedChar?' has no subscript members which produces a lot of results in stackoverflow however I can't seem to utilise any of the other available answers for my example. Its clearly a casting issue but I don't not see…
Allreadyhome
  • 1,252
  • 2
  • 25
  • 46
-2
votes
1 answer

Swift 3 and Xcode 8.2 - Ambiguous reference to member 'Subscript'

I get a error and I do not know why ... can anyone help me? I am despairing! No other post has helped me. Thank you very much in advance for your answer!! PS: I get the error only when I try to run on my own iphone Image with Error func parseJson()…
KMax
  • 65
  • 1
  • 6
-2
votes
1 answer

How can I display 'Latin subscript capital letters' in PyQt?

I'm using Python for my GUI Application(using PyQt4), and I want to use 'Latin subscript capital letters' in my GUI tableWidget. PyQt4 supports Unicode, so I succeeded in displaying the Unicode characters in the GUI, such as: 'Latin subscript small…
Rizamong
  • 1
  • 2
-2
votes
1 answer

swift json type data parsing after get data

I'm developing a function which is receiving some JSON after calling a NSURLRequest in Swift. I am having issues accessing the different data values with subscript after I have parsed the result. The following is the retrieved…
Smith Ro
  • 11
  • 2
-2
votes
1 answer

For Loop Error - Subscript Out of Bounds

I have been searching the internet for hours trying to resolve the following error: Error in Dataset[i, Year] : subscript out of bounds Below is the section of my code producing the error: for(i in (2*YF):1){ if(Dataset[i,Year] < 0){ …
JTeezee
  • 38
  • 1
  • 6
1 2 3
41
42